@host % ~/tool/ateliers/vm_host disk_umount
TASK: obtenir une installation démarable
@host % ~/tool/ateliers/vm_host chroot
- @host % ~/tool/ateliersexport TRACE=1 LANG=C LC_CTYPE=C
+ @host % export TRACE=1 LANG=C LC_CTYPE=C
@host % /root/tool/vm/vm_hosted init
@host % exit
TASK: initialiser la VM
@hosted % vm_hosted user_admin_add $user # NOTE: remplacer $user
TASK: démarrer la VM
@host % vm_host vm_start
- @remote % vm_remote disk_send_key
+ @remote % ./vm_remote disk_key_send
+TASK: pousser des changements locaux sur la VM
+ @remote % ./vm_remote push hosted
+ @hosted % vm_hosted git_reset
+TASK: se connecter interactivement en root à la VM avec une connection SSH persistante
+ @remote % ./vm_remote mosh -l root
rule_ssh () {
"$tool"/vm_ssh $vm_fqdn "$@"
}
+rule_mosh () {
+ mosh --ssh="$tool/vm_ssh $*" $vm_fqdn
+ }
rule__ssh_known_hosts_update () {
rule ssh \
-o StrictHostKeyChecking=no \